package com.chixing.day08.OrderSystem;

public class OrderTest {
    public static void main(String[] args) {
        PersonalOrder p = new PersonalOrder();
        p.setOrderNum(6500);
        p.setCustomerName("张三");
        p.setProductId("p100");

        OrderBusiness ob = new OrderBusiness();
        ob.saveOrder(p);

        System.out.println("================================================");

        EmptyOrder e = new EmptyOrder();
        e.setOrderNum(2000);
        e.setEmptyName("Google");
        e.setEmptyId("e101");

        OrderBusiness ob1 = new OrderBusiness();
        ob1.saveOrder(e);

    }
}
